import os

# update wssh
os.system("bash shells/synctohub.sh")

screen_name = "webssh"
screen_shell = "wssh --address='127.0.0.1' --port=28000 --timeout=600 --forbiddenindex=true --wpintvl=20"

# key = 'KEY1KEY2KEY3KEY4'
# if key:
#     screen_shell += f' --key={key} '

cmd = f"bash screen_start.sh {screen_name} '{screen_shell}\n'"

os.system(cmd)


